package com.bidevalution.dao.mapper;

import com.bidevalution.dao.entity.BeExpertVote;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;
import java.util.Map;

public interface BeExpertVoteMapper {
    int deleteByPrimaryKey(String seqId);

    int insert(BeExpertVote record);

    int insertSelective(BeExpertVote record);

    BeExpertVote selectByPrimaryKey(String seqId);

    int updateByPrimaryKeySelective(BeExpertVote record);

    int updateByPrimaryKey(BeExpertVote record);

    long judgeLastSubmit(String sectionId);

    List<Map> getList(Map<String,Object> params);

    List<Map<String, Object>> getMajorityRulesVoteResultList(String sectionId);

    List<Map<String,Object>> getOneVoteNoVoteResultList(String sectionId);

    List<BeExpertVote> selectBySectionId(BeExpertVoteMapper beExpertVoteMapper);

    int updateStatusBySectionId(BeExpertVote sectionId);
}